package org.xaviera.io;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public interface SerializationFactory<T> {

	public Serializer<T> createSerializerForType(Class<T> type, OutputStream out) throws IOException;
	
	public Deserializer<T> createDeserializerForType(Class<T> type, InputStream in) throws IOException;
	
}
